# coding:utf-8
        # Set intersection 集合交差
        
        x = {"apple", "banana", "cherry"}
        y = {"google", "microsoft", "apple"}
        z = x.intersection(y)
        b = y.intersection(x)
        print(z)
        print(b)
        
        
        x = {"a", "b", "c"}
        y = {"c", "d", "e"}
        z = {"f", "g", "c"}
        result = x.intersection(y, z)
        print(result)
        
        #Remove the items that is not present in both x and y:
        x = {"apple", "banana", "cherry"}
        y = {"google", "microsoft", "apple"}
        x.intersection_update(y)
        print(x)
        
        x = {"a", "b", "c"}
        y = {"c", "d", "e"}
        z = {"f", "g", "c"}
        x.intersection_update(y, z)
        print(x)